package com.api.league.form;

import com.api.league.enums.LeagueType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author RenQiang
 * @date 2021/5/26
 */
@Data
@ApiModel(value = "联赛创建表单")
public class CreateLeagueForm {
    @ApiModelProperty(value = "游戏ID")
    @NotNull
    private Long gameId;
    @ApiModelProperty(value = "联赛类型")
    @NotNull
    private LeagueType leagueType;
    @ApiModelProperty(value = "联赛海报")
    private String poster;
    @ApiModelProperty(value = "联赛标题")
    @NotNull
    private String title;
    @ApiModelProperty(value = "联赛图文简介")
    private String introduction;
}
